x86/HVM: use manifest constants / enumerators for memory types
authorJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:05:51 +0000 (11:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:05:51 +0000 (11:05 +0100)
commit9963a1aa033ce7716dd55659787ba99210066b24
treea06682ac195d9b25f3fa1c66d9b7e2a2620f777c
parent3089a6d82bdf3112ccb1dd074ce34a8cbdc4ccd8
x86/HVM: use manifest constants / enumerators for memory types

... instead of literal numbers, thus making it possible for the reader
to understand the code without having to look up the meaning of these
numbers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/mtrr.c
xen/include/asm-x86/mtrr.h